package com.zjs.dynamic.datasource.service.impl;

import com.zjs.dynamic.datasource.domain.SysUser;
import com.zjs.dynamic.datasource.mapper.SysUserMapper;
import com.zjs.dynamic.datasource.service.SysUserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class SysUserServiceImpl  implements SysUserService {

    @Autowired
    private SysUserMapper sysUserMapper;

    /**
     * 查找全部用户信息
     * @return
     */
    @Override
    public List<SysUser> findAll() {
        return sysUserMapper.findAll();
    }

}
